If the water vapor content remains the same and the temperature decreases, the relative humidity rises.
If the water vapor content remains the same and the temperature increases, the relative humidity falls.
This is because colder air doesn’t need as much moisture to become saturated as warmer air.
Hope this helps