In a high wing aircraft when the flaps are extended, the Thrust/Drag couple is disturbed and Drag curve goes above, therefore causing a nose up moment.
In a low wing aircraft when the flaps are extended, the Thrust/Drag couple is disturbed and Drag curve goes below, therefore causing a nose down moment.