Originally, it wasn't even a dunk. He was performing a "ballet move" in front of the hoop. They snapped this pic and a year later they turned it into a logo and he decided to replicate it during an actual dunk.