The correct option is A bananas
An idiomatic expression is a type of informal English where the meaning of the expression is different than the literal meaning of the expression.
Option A: 'went bananas' is an idiomatic expression (past tense of go bananas). It means 'become extremely angry or excited'. It is relevant to the statement, "The neighbour" went bananas, i.e., became extremely angry when he "saw his broken window". Hence A is correct.
The phrases 'went apples', 'went pears', 'went peaches' do not have a literal nor an idiomatic meaning. They do not contribute to providing meaning to the given sentence, hence options B, C and D are incorrect.