Answer:
Tempera is created by hand-grinding dry powdered pigments into a binding agent like egg yolk, milk (in the form of casein) and a variety of plant gums.
Tempura is made by mixing egg yolk with water essentially, which means it is cheap, and that is what lead to it being widely used throughout history.