i believe this is called dark humour.