Based on your description, I understand that when some users visit SharePoint site, site URL suddenly changes from http to https. If it is wrong, please correct me.
You should go to the central administration of production environment to check whether it is configured alternate access mappings.
Have you installed system update or CU patch in the production environment?
You could refer following articles to configure alternate access mappings correctly.
If an Answer is helpful, please click "Accept Answer" and upvote it
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.