It could be teething, an illness, or just a phase. They might not be hungry or are simply too tired. See a paediatrician if it continues.