Lin-Manuel Miranda said in an interview that he wrote the song “You’re Welcome” for Maui once he knew the character would be voiced by Dwayne the rock Johnson because he thought that Dwayne the rock Johnson would be the one person on earth who could sing something so egotistical and have us completely convinced we should be thanking him and honestly he’s not wrong.

This just further proves my theory that he added in the “Maui can do everything but float” line knowing that people will be making the pun about “the reason floating is the only thing Maui can’t do is because he’s The Rock”.