Motivation fades. Environment stays.
What food is in reach? How often do you skip meals? How stressed are your evenings? How tired are your decisions?
Stop asking "how do I stay motivated?"
Start asking "what keeps tripping me up?"
Remove the friction. The behavior follows.