This is another common mistake that partly comes from our literal translation from Spanish into English and partly from the fact that ‘yesterday’ can be used with the rest of the parts of the day.
When we want to say: “Ví el partido de fútbol ayer por la noche”, it is NOT correct to say: ‘I saw the football match
yesterday night‘. The correct expression is ‘last night‘.
Thus you should say: ‘She didn’t phone yesterday‘ BUT ‘She didn’t phone last night‘.
However, it is correct to say yesterday morning/ afternoon / evening. Night is the exception to the rule.