The example below is from a grammar guide
This glass is cracked. ~ So it is. I hadn't noticed.
Why not "I haven't noticed"? - Present Perfect, as it is something he hasn't noticed until the moment the other one said "It is cracked".
Or that can be just "I didn't notice" - Simple Past.
Can anyone explain why?