First, there is the "Sunk cost fallacy" effect. I have dedicated years of my life into this. I literally learned how to draw and design characters to make a game. I learned how to write stories, writing techniques. I learned SOME programming, I learned game design, etc. To throw everything away now would be a disservice to my current self, to all of my past selves who had hopes of seeing this project brought to life, to my characters and to any people who might potentially enjoy my game in the future.
Second, there is the fact there is not a lot else I want to do in life... I guess I would not mind taking super macro photos of insects and stuff or dedicating my time to caring for little critters [spiders, ants and stuff] in vivariums, but one needs money for that and I do not have money, so... The reality is that I suffer from anhedonia, which means I do not feel pleasure by doing things in life. I have not had fun in years. I do not enjoy doing 99.9% of things, but somehow... working on my game excites me, it lights me up, from time to time and I do not want to give that up.
However, sometimes working on my games makes me feel extra depressed instead. Yesterday I was struggling with a bug where battle animations were misaligned [the same animation played around the middle-bottom of enemy sprites, but around the middle-top of player sprites] and honestly, I just wanted to give up. Making a game is often facing setback after setback, and giving up on things feels SO good. Being freed from responsibilities and aspirations is a great, liberating feeling.
But, I did not give up and it is not because I am this super determined person, but it is because I developed a few tricks to keep me going. For example, I am making a RPG, yes? But, why did I decided to make a RPG? Well, it is a good video game genre for story-telling purposes, being that RPG players are used to and expect RPGs to be very wordy. Moreover, I find turn-based combat to be a good fit for interesting story-based setpieces.
I also grew up with Pokémon, Digimon, Shin Megami Tensei and such and this game of mine is a good way to express my feelings about the 'mon' genre of fiction. There are so many cool moments and tropes and such in the aforementioned franchises that inspire me...
So, sometimes if I am feeling depressed and wanting to give up, I will go back to the things that inspired me. I will play a Pokémon/Digimon/whatever game [or, watch a lets play, or watch an episode of the animes]. Sometimes just listening to battle/boss music from inspiring games is enough to renew my motivation.
Other times I come to this forum or the RPG Maker subreddit to look at the progress other developers have made, because if it is not easy for me, it is likely not easy for others either. Or, I look into the accomplishments of devs who already released their games, and found out people do enjoy what they created. I would like to experience that some day, the feeling of someone playing my game and legitimately liking it.
So, there are always many reasons to stop, but also many reasons to keep moving forward.