Go all-in in the following situations
1. Super-hand, nuts - in such happy moments you do not just need to push the chips into the center of the table, but somehow force competitors to respond with their money, unless of course they thought of putting them first - this is the most optimal option. Sometimes the strongest hand at the moment, can be "overbought", i.e. beaten opponent on the following streets. All-in bet will force him to pay immediately, and not make a choice later, depending on whether he collects what he wanted or not.
2. They want their opponents to fold. In this case, the player can be like a complete garbage on his
hands, i.e. pure
bluff (not very recommended), and some sort of mediocre combination with the possibility (outs) to improve, then this is a semi-bluff. You can win the hand even if you have a weak hand if you make the bets yourself. Calling the same, you have to show the combination better, so an active game with stakes, makes life difficult for the opponent. In any case, responding to a bet is harder than betting and let this weight be better on the shoulders of an opponent than yours.
3. When just a bank on the table is already large, you have little left and you need to "exhibit" to reach the showdown and maybe still win.
4. In tournaments, when chips are thrown, you do not have more than 10 BB (big blinds) and you need to do something. This is a push or fold strategy.