Math.random() returns a value in the range [0, 1). Multiplying it by the range size (high - low), rounding the result using Math.round(), and shifting it by adding low correctly generates a random integer in the closed interval [low, high]. Other choices fail to scale or shift the output correctly.