accelerated cuckoo clock

Why does a cuckoo clock run faster when it’s accelerated? would the same phenomenon be present in an hourglass?