Could be a cross-connection issue.
Do you have a second thermostatic valve in the shower?
I've had issue where the hot water flows through the valve fine but after a while, water starts to flow through another thermostatic valve instead and in turn starts pulling water from the cold side into...