When you're first learning percussion, it's tempting to want to pick up the drum and just start playing. Sometimes that's fine, but in the long run it's good to establish a good practice routine.
These "handstands" serve the dual purpose of warming up the hands and wrists, which helps keep them healthy and injury-free, while also helping to develop good technique and speed.