Let me see if I understand you correctly.
When it fails to start:
You can get the engine started by spraying starting fluid. but you also show fuel pressure at the rail?
I would first check the flow of the fuel injectors when it doesn’t want to start.
If you can get it to fire up using starter fluid you must have spark at the cylinders.
Might also look at the fuel pressure regulator