Still searching for a motive in Las Vegas shooting

What caused the shooter in the Las Vegas massacre to do what he did? People are trying to figure that out.