So you know where the color comes from, but why milk and liquid soap? The main job of dish soap it to go after fat and break it down. Usually the fat is on dishes from the food we eat, but fat is also in whole milk. When you drop the liquid soap onto the tray, it tried to break down the fat in the milk. While it was doing that, it caused the colors to scatter and mix creating a very colorful display. Have fun!