It’s likely a parent issue, OR perhaps you moved a bone(s) to a different bone layer.
Compare the parents of each of those bones to the rig that works correctly (when you select a bone, you can look in your properties section to see the parent bone, you might have to be in edit mode).