He is literally chilling next to VP and laughing, what is there not to understand? That is not the time nor moment to do that shit. Every normal person would be serious in that moment, while goofy is having a blast.
It's funny that you all shit on Luffy for this but Vegapunk has a smile on his face while dying and seeing Luffy in G5, not even the character himself gives a fuck.