When you repeat an action enough times, it transfers from the conscious part of your brain (Prefrontal Cortex) to the automatic part (Basal Ganglia).
You can find his free articles on his website: jamesclear.com
Neuroscience teaches us that the human brain is an energy-conserving machine. It follows the : Between two similar options, the brain will choose the one requiring less energy.
Neuropsychology of Self-Discipline - Study Guide | PDF | Goal - Scribd