Posting to Reddit, one fan believes that Far From Home does technically take place after Endgame, but no one will remember it ever happened. So, Spider-Man will have never gone to save a wizard, fight aliens, or get the Iron Spider suit, which explains why he doesn’t use it in Far From Home. Peter just continues his school trip and is free to go to Europe.
Article source: https://www.cinemablend.com/news/2465441/avengers-endgame-theory-ties-spider-man-far-from-home-timeline-to-infinity-war-bus