I was tapping the tank yesterday when I was stranded and there wasn’t any luck which is why I was surprised it started today
I had shortly a problem with another car that starts always perfect and runs for 200 miles, but when you turn off the car, it won`t start again until you wait 1h. After that it starts again and runs another 200miles without any problem. No rough run, no weak acceleration, no excessive fuel consumption.
I have my own Garage and checked everything, i have a lot of spareparts for that specific car and exchanged spareplugs, distributor, even ECM, where i had one from another car. Nothing helped. I searched with test equipment, and parts to quick change and test, short before getting nuts.
At the end, it was a strange combination of fuel regulator, which was slighly out of tolerance, oxygen sensor and fuel filter, which was new, but why ever, not having enough fuel flow.
I don't say that is your Problem!!
What I want to say is, that are some common suspects like fuel pump, fuel Regulator, fuel filter for your problem. And like @flees correcly said, a fuel pump can work and when warm quit function and when the get cold, work again, that is possible. Or much other parts can cause this problem.
So how can you find your problem?
You can't find the problem in two ways.
One is trial and error. You can change the fuel pump, the fuel regulator and so on and hope that you find the problem. This can lead into drop of a lot of money in your car.
Second is logically check your system, but this needs test equipment, like a fuel pressure gauge to measure the fuel pressure. This gauges are cheap. And you see on a scale if the result of, your fuel pump, pumping enough fuel, which go through a fuel filter and fuel lines, which should not be damaged at any place and a fuel regulator which at the end regulates the fuel pressure for the injection valves, to make sure that that the calculated time for injection of the ECM is correct, like it should.
If the pressure expecially at the moment when you engine won't run is not correct, you know that the problem comes from the fuel system and you can start to look for the causer.
If the pressure is correct than you have another problem like a weak air mass sensor or whatever...
That way of search for your problem, is the correct way to get close to the solution.
Good luck