The Marvel Cinematic Universe pivots on a couple of key relationships. There are multiple romances, friendships, and convenient alliances that have ultimately led to further conflict among these superhuman entities. It's those very human relationships that ground these larger-than-life characters. Out of all the intriguing dynamics across the MCU, the balance between Tony Stark and Peter Parker has been fascinating to watch. Indeed, Stark has acted as a mentor and even somewhat of a father figure in Peter's life, leaving a huge space in Spider-Man's journey when he had passed on.
Source:https://www.cbr.com/why-iron-man-mentor-spider-man-in-mcu/