I cant give you a definitive answer, but the description of green apple always points me back to Acetaldehyde. Acetaldehyde is caused by under pitching, under oxygenating, or removing the beer from the yeast cake too early.
Seems strange that the flavor would not develop until a couple weeks in the bottle. I guess it may have already been present, but was not noticeable until the Mango had mellowed some.