Remember when Olivia got sad in the cave, and people were talking about how it didn't fit that the Monty Moles were still making jokes? Well, Olivia probably felt the same way when you/Mario put on the Goomba mask. Even though both of you were crying back then, the game still tries to make you laugh in order to get over the grief.
Between that and the "assist mode" of Odyssey, I feel like some of Celeste is rubbing off on Mario