because miners are the ones making the templates.
it's as simple as that.
decentralized reward coordination is a separate issue and utterly irrelevant to Bitcoin, regardless it is being figured out but it is extremely difficult to manage in a scalable way.