file_validate_image_resolution() verifies that image dimensions are within the specified maximum and minimum. The first validation is for $maximum_dimensions and the second validation is for $minimum_dimensions. In case the image is larger than $maximum_dimensions, it is resized to meet this requirement.
There was a bug in this function that caused to validate $minimum_dimensions against the original file, instead of already resized file in case the original file exceeded $maximum_dimensions.
Currently, the behavior of this function was changed to be the same as in Drupal 10. In case there is a resize to fit $maximum_dimensions, image information are now updated after this operation and the validation of $minimum_dimensions is now against the already resized image, not the original one.