The person targeted her like a Hunter would stalk his prey. Perhaps if we had detailed background and medical checks the violently mentally ill would not have weapons and therefore this situation would not have happened like this. It's not solely on weapons part that's a piece of the puzzle it takes background checks (more detailed ones) combined with other things to make it work.