Why is parenting my object to a rig move the objects position?

I’m assuming it has something to do with the object having a cloth simulation as I can fix it by moving the cloth modifier below the armature modifier, but once I do that the object no longer moves with the rig.