Why some traffic lights are slower to change

Why do some traffic lights take forever to change and some do better than others?