So, I believe this question is about ConfiForms app (I have added this tag into the question, and the "action" you have mentioned is not available in cloud, so I believe the other (question) tags are not correct)
To answer this shortly: because this is what noformat/code macro do - they just print out the code you put. You cannot execute it, as it is not a code really, it is "escaped"
In order to put the code into your page and execute it later from ConfiForms you need to use something like a HTML macro or analogs
Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event