Why is my cat throwing up hard cat food?



I have tried several brands of cat food (grocery store brands) even the "hairball" kind and my indoor cats (especially one of them) regularly throw up the hard food almost whole. Any suggestions why and how to help them? Thanks!