The only times I've ever noticed discolouration to white window frames and upvc is if there is a nearby neighbour who regularly uses a log burner (over Winter) or has fires in their garden, which leaves a grey stain.
I've not noticed yellowing.
I suppose it might be due to some local environmental pollution, are there any Factories, Chemical Plants nearby?