It almost seems counterintuitive but pudding mix contains modified cornstarch, which helps stabilize the whipped cream by absorbing excess liquid and binding the water molecules in the cream.