> What is the law being broken?

“In most jurisdictions, death threats are a serious type of criminal offence” [1].

[1] https://en.wikipedia.org/wiki/Death_threat#Legality