When you turn the key on, do you hear the fuel pump prime?

These did have a problem with the fuel pump bleeding back and losing pressure. It could also be an electrical issue since the car only does it hot. Might want to check all of your electrical connections under the hood.