I think it might be due to cases, but why is 'ви' not allowed but 'вам' is? I thought they both meant 'you'?
Вам is dative of "ви". You use dative when speaking about age