The police said that he had a history of mental illness documented in Nevada and that it was unclear why he targeted the building.