Shrug it off and keep your head down. Keep on producing good work. Your manager should of deflected this sort of stuff and you are a junior developer. The responsibility doesn't really fall on you.
Take some notes about what you can do better on future projects and try and improve. Rinse and repeat.
DONT keep your head down though. That's part of the problem. Get out of your bubble/headspace/etc and talk to other devs. Compare approaches. Reach out to others to see how they're solving problems. Even problems you're not having. Especially those actually, for when the time inevitably comes when you have to deal with those issues.
As a new person you can't possibly know everything. If you dont have someone showing you the ropes then you have to take initiative and talk to others.
Agreed. No reason to panic. Your experience is not at all unusual. The further up the management hierarchy you go the more results oriented they become. At a certain level of management profit & loss, delivering faster at less cost become the focus of attention. Your immediate manager might be coping some flak from his manager. But that is not for you to be concerned about.
Simply continue to produce good work. Learn from the more senior devs and remain respectfully accepting of comments from your manager's manager and anybody further up. Remembering that they do not have sufficiently detailed knowledge about what you do but they like to think that they do. Being diplomatic means that you never debate with them. If they make any substantial suggestions, discuss them with your immediate manager and ask them for advice on how to proceed.
>Your manager should of deflected this sort of stuff
Also keep in mind that there is a good chance the manager might have had OPs back in all this, maybe it's just the managers boss who has unreasonable expectations (maybe due to poor communication from the manager about changing requirements etc).
Take some notes about what you can do better on future projects and try and improve. Rinse and repeat.
Gj on delivering.