I'd say biology, but considering environment molds species into what they are, it would be the environment. The weird thing is, humans have enough power to manipulate their own environment. This would be basically asking, what does thought come from?