The man appeared to be experiencing a mental health crisis at the time, officials said.