Is work used to mean the same thing in the next two sentences (see options)?

Start from the bottom and work towards the top.

The stitches of the hem worked loose after she wore the skirt many times.

Choose your answer from:
1). different meanings.
2). the same meaning.
1).