This character is a combination of 食 food/eat and 反 oppose. Here 反 is a phonetic element expressing “eat,” giving “eat food.” Over time it had come to refer to the food being eaten rather than the act of eating.