maybe a fuel line bleed down issue due to an ailing internal check valve in the fuel pump. May also be something obtuse like your ignition switch if not your main or fuel pump relay making better contact the second time. Try the following. Turn your ignition key to on but do not turn the key immediately engaging the starter. See if your fuel pump will fill the line prior to cranking the engine. Then turn the key the rest of the way and see if it fires on the first attempt. Consider performing a fuel pressure check at some point as your pump may be dying.
HTH,
George