Teething, loss of appetite?

My 7 month old suddenly stopped wanting any food. No solid or bottle. He might get two bottles down in a day. His teeth are so close to cutting. Is this possibly why he's not wanting to eat? He's still happy, pooping, everything.