Your fuel tank needs to let air in to replace the fuel that has been used.
have the fuel pour out when this happens.
that lets air in but stops fuel coming out. Also the short pipe allows for easy turning of the fuel cap.
due to different computer screen, thanks for your understanding.