The killings have raised questions about how an 18-year-old with mental health concerns and a history with police was able to obtain the weapons.