In Spider-Man: Homecoming, Peter refused being an Avenger at the end of the movie, yet in Avengers: Infinity War, he acted excited when Iron Man told him he was now officially an Avenger.
Why would he be so excited to be an Avenger in Infinity War if he declined being an Avenger in Spider-Man: Homecoming?