Suppose a miner decides to solve the nonce for a particular block, where the miner deliberately excluded a particular transaction from this block. The miner "wins", i.e. they found the nonce value that, when added to the string of the modified block they were trying to solve, hashes to a number below the target number. They send the solution to the network.
Does their block, that ignores the transaction, get accepted by the network? If so, what happens to the ignored transaction? If not, why not?