Teeth Whitening shouldn't normally cause cold sores to breakout but if you do teeth whitening at home and then eat foods that are acidic including acidic fruits then the acid can mix with the chemicals used in teeth whitening products.
When those chemicals mix in with the acid from acidic foods or acidic fruits then it could cause cold sores to break out.