Why not make the hydrogen onboard the vehicle?
It's possible, but not practical. Early in CaFCP's history, some automakers looked at reforming gasoline or methanol into hydrogen onboard the vehicles. Both processes worked, but added weight, complexity and cost to the vehicle. It's easier and more cost effective to produce the fuel at a central location.