Officers were called around 11 p.m. to the 3300 block of Chester Lane to check on the welfare of the child, who was not breathing, police said. Officers found the girl dead and with "obvious trauma to her lower extremities," according to police.
Police said late Saturday that Wendy Guadalupe Gomez, of Bakersfield, was arrested on suspicion of felony willful harm to a child causing injury or death.
Police haven't said how the child was harmed or what evidence they have against Gomez. They also didn't specify if Gomez is the child's mother.
Witnesses described calm people standing around the vehicle before police arrived Friday night. One witness, who declined to give her name or show her face on camera, said a woman told her she was afraid of being arrested.
Another witness said she didn't notice anything unusual, but then returned from a fast-food run to find heavy police activity moments later.
Anyone with information helpful to the investigation is asked to call the case detective at (661) 326-3711.
Raw video: Witnesses talk about discovery of dead child