I dunno, I’ve never been head-over-heels passionate about writing code, though I’ve been at it for 15 years now and I still get quite a kick out of it in the right circumstances. I tend to gravitate towards bug fixing, integrating work others have done or improving it slightly, testing, deployment/monitoring automation, etc.
I’ve also 100% had lulls where I just hate it and cannot be bothered to do my job or do it well, I think it ebbs and flows with what you’re being asked or required to do.