Eggplants can develop brown spots or discoloration for two reasons: enzymatic browning, a process that occurs when eggplant's flesh is exposed to oxygen, or decomposing.