I get those "it does it sometimes" jobs in here occasionally. I hate them SOMETIMES 😅
Other times I can look things over, do a few tests, make a simple adjustment, and it never happens again.
Yours, from how you've described it, sure sounds like a fuel delivery issue.....but fuel delivery issues don't ordinarily care what time of day it is. They can care how much fuel is in the tank though (pin hole or crack in the pickup tube), and there may be a pattern there that relates to the level of fuel in the tank.