Our 4 month + old male Cocktiel (DNA says he's a male) has started to act rather strange.

Out of the blue he will half squat down, partially spread his wings, and make a little clicking sound while walking. Sometimes he makes a little whistle. I tried to get a photo of the postiion but it reminds me more of a mating posture and a call to the 'girls".

Now I am sure of his age, as I got him as a unweaned baby and almost killed him with kindness (over fed). He does this in his cage, on the table, anywhere but not all the time. And no one in particular is around. I can't put a particular time or place to the action.This action usually lasts 5-7 minutes, then he stops, goes back to normal chatter or singing or ratting around.
Any idea as to what is happening? He seems so very young to be calling the 'girls"

He's healthy and of decent weight, so Idon't think it's a medical issue?
Thanks for ideas
Do