Its a setting somewhere. Mine will show that I received a text, but will not display or read it (unless I ask Siri to). You can also disable text notifications (or any other notifications) in CarPlay like this -
http://www.iphonehacks.com/2017/01/d...e-carplay.html