The 7-year-old girl and her father had gone days without eating or drinking before they illegally entered the U.S., officials said.