Next time it does this, open the gas cap, close it again and see if it’ll start right up.
Could be clogged vent hose.
If your vent line is clogged removing the gas cap should equalize pressure and allow the pump to work against atmospheric pressure instead of pulling against a vacuum.
__________________
Like "Cool Hand" Luke I'm busting rocks.
__/|_/[___]
|/ \\_| ---OllllO
_( ))~-( ))-0--))
|