Try cleaning it thoroughly first, usually this is stuff bonded onto the surface rather than damage to it - on your last picture, you've got a similar issue with the B Pillar trim as well (although you need to treat that slightly differently!).
For your window strip; Strong APC & degreaser (Bilt Hamber Surfex HD) sprayed on & thoroughly worked before clay. If it's no different then a trim restorer (such as Solution Finish) but if cleaning makes any difference (better or worse) you won't need anything more than a dressing like C4 or Gyeon Trim to bring it back to life.
The rear window strips just need a clean (moderate APC) and dressing.
For your B pillar; mild APC & degreaser to clean then polish with minimal cut - they scratch very easily, polishing by machine in situ (and then never even looking at them again, let alone touching them) will give best results.
And seeing as I'm here, the rubber seals in your door could do with a good deep clean (mild APC) and feed (Gummi Pfledge) too.