Hydrogen vehicles are EVs too. They don't run H2 through a piston engine, it goes through a catalytic converter that generates electricity, aka Fuel Cell.
Toyota FC stack costs ~$11k, about the same if not cheaper than a 100kWh worth of Li-ion cells.