Question: why are some bars over 21?
Answer: Certain bars/pubs can and do set their own entry requirements. Setting the 'bar' (see what I did there? lol) at 21 is allowing them to (hopefully) have a more mature crowd visiting. Some bars also have a 'dress code' policy regardless of your age.