Full disclosure...there are times that I have struggled with anxiety because there were so many real things in my life to be anxious about. Sometimes I retreated to my online world...which usually included one game or another...because that was the only way I could shut it off. And while I do actually have friends and colleagues that I have met online, there were many times I didn't venture out except for work because I had really lost my confidence and/or I really didn't want anyone to ask me how I was because I was not ok. I did eventually learn to shut things off better without retreating, but working from home has allowed me to choose when I go out and what I do when I go out. I only have PTSD now, and given what your friend did before she worked from home I would wonder about that....
Maybe your friend seems rude because she doesn't want to be social right now, or doesn't want to talk about feelings, or just wants to be accepted as she is rn.. I never was but I do have rl friends with PTSD who are rude at times eg. one guy nearly yelled at me for offering him a drive one night rather than letting him walk 11 miles to get home, because walking 11 miles while being alone was exactly what he had to do right then
My entire office has been working from home for the past 2 years and lots of people have told me how much easier it is for them to cope in this quasi virtual world...and I just nod and smile. I live in a great neighbourhood and I go for walks most days, usually alone, but I'm also starting work on my PhD and that is when I do my best thinking just before I start writing. Things were not ideal in most countries before the pandemic so doing history research has definitely helped me put things in perspective. I certainly don't plan on going to a mall or Walmart ever again in my life, but I was in a great antique store today.