A 3-year-old girl is recovering after she and her mother were attacked by a man at a park in Texas, according to authorities.