This is probably because it is bearing fruit. This happens to many flowering and fruiting plants, but usually, their leaves go a little yellow instead. Just don't worry, but if it doesn't fix itself with no more fruit or flowers, then it's a problem.