Work is done when:

a force is applied or an object
OR
a force causes an object to move

the latter.