Trouble falling asleep can be stemmed from hypoglycemia or low blood sugar.
A type of hypoglycemia that specifically happens only during the night is known as nocturnal hypoglycemia. https://hwekimchi.gabia.io/bbs/board.php?bo_table=free&tbl=&wr_id=618735