It means What The How
When you are really confused about something and want to show everyone how confused you are
Alex: "Do you remember when I told you that my dog ate my mon and his leg fell off and he stank like my grandma?"
Max:"Whatthehow is that supposed to work? Are you stupid?"