The reason is because Black can create a ko with and , causing a shortage of liberties and threatening to capture the three White stones.
Note that this is a direct ko, Black will connect at a if he wins the ko.
The order of moves is important here. Playing the diagonal at first is wrong. After , Black suffers from shortage of liberties instead.