stopped to gas up will not turn over
some issues with key fob new battey ok
check your car battery and battery cable connections.
Battery good
Then there is likely a battery connection problem such as corroded terminals.
Is your vehicle a push button start or turn the key to start?
If turn the key, Fob would not prevent the engine from cranking.
How do you know?
Try shifting the transmission into neutral and see if it starts.
Tester