it is not uncommon for some of the managers to act like this. do not get demotivated on one incident like this. learn how to communicate with your boss and make positive spin out of it.
gold will shine, regardless. just need to take the right opportunity. persistence pays off.