Peter Parker was a below average guy, except in science and math, where he excelled. He got his spider powers at 15 and soon after that, his Uncle Ben died, but not parting with the line "With Great power, comes great reasonably." And now he swings from rooftops doing insane parkour and acrobatics hundreds of feet in the air while dishing it out on enemies but the one rule he would not break was never to kill a person. Peter eventually meet Tony Stark and with help from Doctor Strange fought Thanos 'the mad titan' and almost won if it wasn't for Starlord.
But a Snap from Thanos and 'the infinity gauntlet' and help from a 'being.' He was brought to 'here,' where he landed on Twilight Sparkle. That is, wherever here is.

On the other hand or hoof, in this case, Twilight Sparkle was born as a unicorn and studying under Princess Celestia eventually found time to make five friends. Rarity the fashionista Unicorn and the element of GENEROSITY. Applejack the farmer Earth pony and the element of HONESTY. Pinkie Pie, the partier earth pony and the element of LAUGHTER. Fluttershy the timid Pegasus and the element of KINDNESS. Rainbow Dash the daredevil Pegasus and element of LOYALTY. And herself as the element of MAGIC. Together they elements of HARMONY! But when a spell went wrong sh fixed her mess and became an Alicorn. The next day her crown was stolen from her and chased the thief through a weird mirror and her dragon that she hatched, Spike has followed her through the weird mirror, and from the moment she landed she was knocked unconscious by Peter Parker.

And from then on Peter Parker and Twilight Sparkle friendship were born.

To be continued...
In 'Spider-Man: The SNAP of Friendship.'