Common problem with these BMW trim pieces. The permanent fix is to sand them back and repaint them or replace them entirely.
The alternative, which I've had success with, is to mask it all off and plasti-dip them. Mine are still strong coming up 3 years now.