Think of it from the hedging perspective. For example, you’re hedging a stock position with either equity forwards or options.
If you use forwards, you lock in a selling price today to eliminate downside. You also eliminate any upside potential, and that is the opportunity cost of the hedge.
If you use, say, put options instead, you still retain the upside potential and therefore have less opportunity cost.