Either the guy was completely out of his mind, on drugs or both or it was suicide by cop.
The fact that he didn’t hurt anyone and actually told them to get lost, I thought suicide, but only God knows now.