Where does cow milk come from?
Oddly enough, cows. I think what you mean is “how do cows produce milk”, which is another question entirely. Cows, and other female mammals, produce milk as a natural product of their physiology when they reach the age at which they can bear young. All female mammals have the capacity to produce milk.