I'll echo the sentiments that it maybe the choice of games that can drastically curb your interest. Especially if you play in the console space, where more & more games are going with "live services" which mean they want you playing as much as possible to "keep up with the joneses". So they can sell you cosmetic items, make you grind thru season passes, and increase the appeal of DLC.
I play/played a lot of Destiny 1 & 2, which has had rocky periods. One problem they've had is in how they address their audiences in that they have a casual player base, and a hardcore player base. To attract more players they went to appealing to casuals to keep them hooked, which alienated the hardcores, generating lots of hate. Bungie the company making Destiny, course corrected and went to pleasing the hard cores. Which means now the game is about grinding, finding groups for the best gear to do events only for groups, and more grinding. Bungie's even adopted the mantra that Destiny is a hobby, to emphasize the time sink.
Problem?
Once your attraction for a game starts to wane, that grind is exactly that, ...a grind. What Bungie wants to call a hobby, you start to think of as a second job, with no pay. When that moment hits, you become very disinterested, very jaded. You may look for other games, but if your interest is in that type of game, you'll soon find the very same issues.
It maybe as simple as finding a genre of games, or stepping away completely until you hear of something game wise that peaks your interest. One of the worst things though, is forcing one's self to keep playing to "keep up with the joneses", that's will completely turn you off from gaming I imagine.