Regarding “net income and principal to spouse for health education, maintenance, and support (HEMS),” why is there any restriction on what the surviving spouse can spend the money on?

This provision is for creditor (lawsuit) protection and potential tax savings. The IRS construes the provision quite liberally. Essentially, the surviving spouse may use the assets for his/her own benefit.