When your child is throwing up (vomiting), it's easy for them to become dehydrated. The risk is even greater when fever causes them to sweat more, or they are also losing fluid through diarrhea.