When a weapon gets an upgrade, the selected increased Physical Attack is random within a certain numerical value. If your higher-level weapon only gets a relatively small Physical Attack boost after an upgrade and your lower-level weapon gets a relatively big Physical Attack after an upgrade, then the Physical Attack of your lower-level weapon would be higher than that of your higher-level weapon.