Make sure that the user group, for which automatic addition of reward points addition was set up (globally, for specific products, or for specific categories), is activated for the account of the customer who made the order:
Go to Customers → Customers.
Click on the customer’s name to open his/her profile.
Switch to the User groups tab.
Make sure that the necessary group has the Active status.