Try doing this across three countries and its even worse!
This past month and a bit we spent a week in the US, three weeks back in the UK, and a week in Sweden (partners country). Each one felt like home and in each place there are roots of some sort, but it can be hard to maintain relationships simultaneously. Sitting in Sweden now, going for brunch tomorrow with Swedish friends, but wondering what is up with work buddies and friends in the UK/making plans for the next few months. Meanwhile I have a stack of emails from US friends I need to respond to, but it can be hard to be in the right mental state to get to all of those, and feel like you are trying to maintain friendships through email.
I've bounced around between the three, and the first move back UK->US was hard. Real hard - I spent years wishing I was somewhere I wasn't. For me it never really went away, hence why we are back in the UK now. But then we visit the US and its amazing how easy it seems to be back there that you think it will be easy to return and no you won't miss the UK. Or we come to Sweden and I think the slower pace would be nice, but forget about the immigration limbo I would be in here, and the language/work challenges.
I guess its all that bloom where you are planted stuff. Everywhere will have pluses and minuses, and some people are better than others at just accepting what is and enjoying the moment. Don't be too hard on yourself, reverse culture shock is a real thing, but try and find ways to mitigate it, such as exploring your new city or looking for new activities outside your old circle.