Is it insomnia?

It’s 2:13 am, and I’m exhausted, and I know I have a ton of work to do tomorrow (actually later today). So why am I not in bed? Is it insomnia? Is it old age? Is it inherited? (Thanks, Mom!) I’m going to go try to sleep now.