Crocheting for baby

Be

When crocheting items for baby, does it HAVE to be baby yarn? And if so, why?

I have ran out of baby yarn, but have plenty of regular yarn I wanted to use to make some hats.