For a reaction taking place in a container in equilibrium with its surroundings, the effect of temperature on its equilibrium constant $K$ in terms of change in entropy is described by:
(A) With the increase in temperature, the value of $K$ for exothermic reaction decreases because the entropy change of the system is positive
(B) With the increase in temperature, the value of $K$ for endothermic reaction increases because of an unfavorable change in entropy of the surroundings decreases
(C) With the increase in temperature, the value of $K$ for endothermic reaction increases because the entropy change of the system is negative
(D) With the increase in temperature, the value of $K$ for exothermic reaction decreases because the favorable change in entropy of the surroundings decreases
Now, I am having trouble understanding option (B) (which in fact, is one of the correct options).
Since the process is endothermic and the temperature is rising, the value of $K$ increases, so heat must flow from surroundings to the system to favor the reaction which implies increase in an unfavorable change in entropy of surroundings rather than decrease as given in the option.
Kindly clarify my doubt. Also, any insights (other than the ones already given in the links attached below) into other options are very appreciated.
This question might look Duplicate of the questions already posted here:
But since this question is not focusing on the same problem, so I hope, it will not be marked as duplicate.