There are pigments in tomato plants called phytochromes. They are color-sensitive proteins. Their job is to regulate plant growth and development.
Phytochromes react differently to different spectra of light. Specifically, when far-red light wavelengths from the plastic bounce back up to tomato plants, the phytochromes tell the tomato fruit to grow more and faster.