Weight paint painting opposite side
It's probably a normal problem, the normals must be flipped, you can check this with the Display Overlays panel > Geometry > Face Orientation, to fix this press ShiftN, it will recalculate outside.