Hopper knew he was dead. They were going to torture him beyond words to have him give up his son and then they would kill him in a bad way.
So he played Walken by provoking him so he would kill him quickly in a rage, plus get in the insult of insults to him while he was at it. Hopper may have died, but he won.