Police Chief Craig Capri said the 14-year-old, who is a friend, went to the home minutes before the shooting.
Despite the loaded gun being secured, the boys found it and began playing with it before it fired, hitting the 10-year-old boy, police said. A relative in the home heard the gunshot and called police, officers said.
The boy, who was shot in the head, was taken to Halifax Health Medical Center and was later transferred to Arnold Palmer Children’s Hospital in Orlando, according to police.
He remains in critical condition. Capri said he's "not doing well."
"The owner of the house who the firearm belonged to did what they felt necessary to secure that firearm," he said. "It's a case by case basis on how you secure your firearm."
Capri said no charges will be filed.