Why does a processor get hot?
A transistor (FET, in modern ICs) never switches instantly from full OFF to full ON.  There is a period while it's turning on or off where the FET acts like a resistor (even when fully ON it still has a resistance).

As you know, passing a current through a resistor generates heat (\$P=I^2R\$ or \$P=\frac{V^2}{R}\$).

The more the transistors switch the more time they spend in that resistive state, so the more heat they generate.  So the amount of heat generated can be directly proportional to the number of transistors - but it is also dependent on which transistors are doing what and when, and that depends on what the chip is being instructed to do.

Yes, manufacturers may position specific blocks of their design (not individual transistors, but blocks that form a complete function) in certain areas depending on the heat that block could generate - either to place it in a location with better heat bonding, or to place it away from another block that may generate heat.  They also have to take into account power distribution within the chip, so placing blocks arbitrarily may not always be possible, so they have to come to a compromise.