One of the teenagers who killed three people at a San Diego mosque this week had been flagged to law enforcement last year for exhibiting alarming behavior and idolizing Nazis, prompting police to confiscate his father's guns, according to court records.