Does the pegs get affected by weather?

Context: I play music with people every Tuesday. Today, my pegs were STUCK and I couldn’t tune.

My violin is in my case unless I practice/do music things, but does it even get affected by weather when it’s even in the case?

Where I live, the weather has been constantly fluctuating.