Your description of the computer's suggestions doesn't quite match the position, but if you mean the computer suggests Nxe5, that is correct, as Bxe1 leads to a variation of [Legal's Mate][1].

1. Nxe5  Bxe1
2. Bxf7+ Ke7
3. Nd4#


  [1]: https://en.wikipedia.org/wiki/L%C3%A9gal_Trap