An in tank fuel pump will all result in the fuel being warmed up which causes the fuel to expand.

Your vent may have a roll over valve which is sensing the rising feul level ( expansion) and closing your vent.