Police said it's unclear if one of the other children in the car was responsible for the shooting. An adult was nearby when the shooting happened, police said.

Under Florida law, a firearm must be securely encased when in a vehicle. It is unclear where the firearm was located at the time of the shooting.

"We will be looking at who this firearm belonged to, were the firearm was in the vehicle at the time, along with who was present when the gun was fired," said Miami-Dade Police spokesman Det. Roy Rutland.