https://www.chess.com/a/26Ny82SVccoCi
I don't see why 3. ...f6 is a worse move than the suggested ...Bd6.
That risks a bishop for bishop trade while the former move actually could still take bishop if he were to move in on black's back rank and instead ...f6 sets up the follow pawn advancement that pushes the white bishop back further. Am I missing something or is the computer not able to think that way?
The computer is programmed to do certain things that have been shown to lead to a good game.
Developing pieces is highly valued in openings, rather than trying to push opponent's pieces back with pawns. The main drawback to 3..f6 is that it takes away the place your knight wants to go. Also, it weakens your king's safety.
I recommend you take some of the lessons here to understand these basic concepts.
https://www.chess.com/a/26Ny82SVccoCi
I don't see why 3. ...f6 is a worse move than the suggested ...Bd6.
That risks a bishop for bishop trade while the former move actually could still take bishop if he were to move in on black's back rank and instead ...f6 sets up the follow pawn advancement that pushes the white bishop back further. Am I missing something or is the computer not able to think that way?