どういう風の吹き回し 'what kind of wind is blowing around' is an idiom for 'what caused this unexpected change / what's gotten into you' — as if a change in wind explains the sudden shift. ~はずなのに 'should have been X, and yet' stacks expectation (はず) with concessive surprise (のに). あら is a feminine surprised interjection.