Squirming while trying to fall asleep

Mikko • Single mom, tattooed, pierced, 日本語OK

My 3 month old has this new thing where he squirms while trying to fall asleep. He’ll do it for a good 10-15 minutes until he’s calmed down.

Does anyone know why this is happening and how to ease his obvious uncomfortableness?