I figured it out, it happens when the setting “enhanced protection against trackers” is set to custom and “redirection tracker” is on in firefox