If hydrogen is called a fuel, why can't electricity also be thought of as a fuel? Seems a subtle concept but it's key to avoid falling into the trap of trying to violate the Second Law of Thermodynamics.
Simple answer: Hydrogen (H) is an element, and H2 and hydrocarbons are molecules; electricity is neither.