Underpromotions to rook or bishop certainly can happen in play to avoid stalemating the opponent and preserving the win. Other reasons don't exist in play (aside from extraneous reasons like not having a queen handy or weak players underpromoting just because they are afraid of stalemating even though promoting to a queen wins) but can in compositions. e.g., here's a position that is the other way around, where promotion to a bishop is stalemate regardless of where the opponent moves and any other promotion loses:
1n6/PP1p4/n1p5/8/7q/5pbr/5k1p/7K w - - 0 1
https://www.chess.com/analysis/game/pgn/5WfasZuA6A/analysis
P.S. https://timkr.home.xs4all.nl/chess2/minor.htm contradicts my "Other reasons don't exist in play", assuming that the game that he analyzes actually happened, which is questionable.