Crazy bear dances in public in Yellowstone

It looks like this bear appears to be "dancing" for no reason at all! These people were just walking in a popular spot in Yellowstone and they saw this!