Could have been just the change in altitude. If you filled up in a low altitude area, the air pressure would be the same inside and outside the tank. As you climbed uphill, the pressure inside the tank would gradually increase, compared to the outside air pressure. The pressure difference could have caused the light to come on.