May need evaluation
As a two year old may not be able to tell you specific issues, it can be hard.
can be a sign of illness in a child, and a sore throat
can cause that. If he is able to keep fluid down, and is not acting too sick, and has no trouble breathing, he will likely get better in a few days. If he looks or acts very sick, drools, can't keep fluid down and so on he should be checked out.