What gas station did you go to?
Years ago I went to a very old Sunoco station and the same exact thing happened after I filled up. Had to tow the car to a mechanic and what he found was shocking.
Water was in my gas tank !!!
I went back to the Sunoco and flipped out on them.
They ended up paying for the repairs and even the tow.
The attendant there told me that the tanks we so old that it was starting to rust underground and water was leaking in. Not too long after the incident, they closed it down for good.