My man @GoldenTiger that’s part of the cyclical nature of life. In my late 20s as well and just emerged from a season of monk mode / complete focus on work with essentially no desire whatsoever to socialize. It inspired a 7+ month Emperor run and a tremendous growth in my career and financial situation, to the point now where I’m beyond satisfied in that area, and am now reigniting this strong urge to have fun, socialize, go out with girls, etc.
Just because non-social goals aren’t a priority right this moment doesn’t mean they won’t ever be again. Around 27 was when I personally felt a similar shift from partying and having fun, towards being a responsible and disciplined man who puts his career and purpose above all else. Now that I’ve achieved meaningful success in that area of life, I’m rediscovering a desire to have fun but in a more refined and mature way. I sense the same is happening for you too.