I think that they are just cursed Kokiris.
After all, the Skull Kid in MM does'nt attack Link. Majora completly control him. In fact, only Majora is evil.
In TP...
Well, he attacks you.
But it looks more like a game to me.
Kokiris are eternal childrens, so maybe this one is "playing" with...