How Neurons hidden layer decide?

I was watching (Example: Recognizing Images) video and I wondering how a neuron hidden layer deicide to chose a specific part of image and other hidden layer choose a specific part of image?

It doesn’t.
Each unit learns to minimize some aspect of the cost.