Toddler stopped sleeping in bed

Kelly 🌻 • Mama to Theodore Henry 💙 1/16/21 Baby #2 coming September 2023 ❤️

My toddler has been very good about sleeping in his bed the last 5 months. Randomly the last couple weeks he has been moving to the floor in front of his door to fall asleep. Why is he doing that? Should I be worried?