The price of a F=Se^r. Why is the spot multiplied by e^r if commodities don’t generate continuous cash flows?

Arbitrage.

The price of F=S(1+r)^t to prevent arbitrage on futures of other types of investments…

Multiplying by *e*^*rt* is the continuous cognate of multiplying by (1 + *r*)^*t*.