Apparently they just come like that.

DD#2 is the worst sleeper in the universe - still haven't worked out how to stick her in a cot and get her to sleep and she's 2.5.

DS#1 on the other hand, you stick him in a cot, and he sleeps ... its ... bizarre. Are babies supposed to do that?