Puppy starting to nip?

Hi, I have a 7 month old puppy and last night I took her over to my friends house, who also has pups around her age. She got on the couch after playing hard with the other dogs and I went to move her over and she growled and nipped at me! I was thinking maybe it was the new environment and being around new dogs (which are bigger than her and show dominance..) that was making her act like that! Then we get home last night, she gets on the couch again and I go to move her (because she likes to take peoples spots..lol) and she does the same thing.

She has also done it today, growling angrily showing her teeth and biting at my hands. I also noticed today that she has been sleeping a lot and seems kind of down. Could last night have been too much for her?

I’m just looking for some advice and suggestions because she has NEVER done this before! ☹️