It would make sense to be told what you are doing wrong in order for you to  adjust your behavior. However, not being given this information is permissable. Most employment is "at will". This means that a company can set the conditions of employment much as it sees fit. Therefore, unless this treatment constitutes some form of legally actionable discrimination or this action violates company policy, a union agreement or employment contract, you have no claim here.