FBI: "There was no legal basis in federal law to prevent Santiago from having the firearm."

Common sense: "The guy has severe mental health issues.  So don't give him his gun back."

If the FBI had exercised common sense ... maybe less, or no, people would have been killed by Santiago.