The fuel pump relay is the gatekeeper of fuel delivery. The electric fuel pump draws high current (around 5 to 10 amps) to pressurize the fuel lines. If this current passed directly through the ignition switch or ECU, it would melt the contacts. The relay acts as an intermediary. When you turn the key, a low-current trigger circuit energizes a small electromagnet inside the relay. This pulls a heavy switch contact closed, routing high-current battery power directly to the pump.
Relays are mechanical switches and wear out. The internal contacts can burn and develop high resistance, causing the fuel pump to run slowly or stop entirely. If the relay fails, the engine will crank but refuse to start because the fuel injectors have no fuel pressure.