Defence Secretary Pete Hegseth had previously announced the execution would be broadcast publicly.