Friction is a necessary evil. It is both a boon and a bane. If there is zero friction in this world, you wouldn't walk, couldn't move stuff around, etc. If there is too much friction, things wear out and get damaged.
That's from your 8th standard Physics lecture. Snapping back to reality, having a sweet spot with the friction is crucial. You tend to do a task or a habit when there is less friction associated with it.
And when you have or create more friction to do a task, you are less likely to do it.
Whether a response occurs depends on how motivated you are and how much friction is associated with the behavior.