The rope was hanging from the roof. It was held firmly (tightly), then it "became loose", i.e. was no longer held firmly, and could move around, and maybe fall. If you hold a rope tightly, then loosen your grip, the rope will "become loose". It can move around, and if someone pulls it, it might come out of your hand. If you loosen your grip enough, the rope will fall out.