Islamic state is taking responsibility for it and patting themselves on the back but it's unlikely that they are directly responsible. It's possible they trolled the sociopath in Nevada on social media. There are crazy people who get talked into doing evil things that way. It worked for Trump. He went on twitter to talk people into voting for him and slanders people who didn't. It's a peer pressure/bullying thing.