That seems to be the default behavior for expired assets. The assets would have been unpublished from AEM Sites and hence there are broken links. You can update the asset expiry dates and republish those assets. I do not see a way to turn this feature off.