I recently increased by fiber intake from 10-15g to 25g. It cured my constipation but now I get diarrhea. Side effect of the sudden diet change?

Could Be. Settle down and adjust amounts. Fiber is good for you and usually not enough in Western diet. You can always increase it slowly after symptoms resolve. Overall a good idea though.