Yeah, sometimes I kind of think my cats are twerking. (And I apologize to HN readers for using that word).
The biscuits/kneading usually come first, then the sprinkling starts when the back legs start coming up and the tail starts vibrating.
If it's something he likes, like the fridge, no biscuits get made, it's straight to sprinkling for a few seconds to just make sure it's still his.
Oh and the wiping of gums on literally everything, most importantly every cardboard box in the house.
It's definitely an arousal thing mixed in with territory marking.