The correct explanation of how mandatory spending is different from discretionary spending is:
Mandatory spending is required by law to be paid while discretionary spending is based on annual appropriations, set by the House and Senate Appropriations Committees.
This statement accurately captures the fundamental difference: mandatory spending involves expenditures that are obligated by existing laws (such as Social Security and Medicare), whereas discretionary spending is determined by annual budget decisions made by Congress.