Automatic weights not working well
Your normals are flipped, you can see it if you enable Face Orientation in the Viewport Overlays options, it messes up the parentage. Go in Edit mode, select all and Mesh > Normals > Recalculate Outside, or ShiftN. Then reparent With Automatic Weight.