The cannon check
The cannon needs a screen. If exactly one piece, of either colour, stands between the cannon and the opposing general, the cannon attacks the general. This is a favourite way to give checkmate: the general's own pieces often become the screen. The defender answers by capturing the cannon, moving the screen away, adding a second piece in the line (then there are two pieces and no attack) or moving the general.
A general that cannot move because its own chariots or advisors fill the neighbouring points is especially exposed, because there is no one to capture or block.
The discovered attack
A discovered attack happens when you move a piece off a line and a second piece behind it is suddenly attacking. Now you have two threats at once: the piece you moved, and the one you uncovered. If the uncovered attack is a check, the opponent must answer it, and the piece you moved is free to capture or attack something else.
Cannons make discovered attacks easy: your own piece can stand as one of two screens in the line, and when it leaves, exactly one screen remains.