Each block contains a coinbase transaction, which is the first transaction in the block. The coinbase transaction is created by the miner who successfully solves the cryptographic puzzle to mine a new block. This transaction creates the new coins and includes the block reward.
But you know this already 😉