This has to do with the product options specific to each product. If there are product options such as variants, personalization or minimum order amounts, then a View button will appear on the category page. In other words, if a customer cannot buy a product without choosing an option, then the Buy button changes to a View button. The Buy button is only possible if there are no extra options to add or choose.