According to Crystal Dynamics, developer for the upcoming Avengers game published by Square Enix, Sony owns the video game rights to Spider-Man. This indicates that Sony used their rights to Spider-Man in order to have exclusive content on the PlayStation 4 and PlayStation 5 versions of Marvel Avengers.
Source: https://comicbook.com/gaming/news/marvels-avengers-team-spider-man-playstation-exclusivity/
2nd Channel: https://www.youtube.com/channel/UCs0EEIENedOoy48shJ9IHYA
Twitter: https://twitter.com/ChadJaksen
Discord: MrNoobTubeGamer#8864
PSN/XBL/Steam: MrNoobTubeGamer