There is only so much onboard diagnostics can monitor. Lots of things can fail without warning. If you did not purchase a full coverage extended warranty, the standard powertrain warranty would not cover fuel pump failure. Fuel pumps normally fail because they are not constantly submerged in fuel, i.e. constantly running on empty.