If 4000 or even 1000 was set in the MCP, and ALT was annunciated on the FMA, the application of TOGA prior to 80kts would have cleared the ALT FMA annunciation.
perhaps TOGA wasn't applied prior to 80kts?
I'm truly baffled as to what went wrong as by my count there are 5 separate occasions to identify and confirm the MCP setting, more than that every SID out of sh1tsville has a stop altitude of 4000'