This figurative meaning describes a conversation, attitude, or plan moving in a different direction.
The discussion veered toward politics.
His views veered from optimism to doubt.
In meteorology, veer specifically means the wind changing direction clockwise.
The wind veered from south to west.
Forecasters expect the wind to veer overnight.