In the first example, a free body diagram for the particle (the black circle) along with the statement that the system is in equilibrium, tells you that T = mg, where T is the tension in the rope. Imposing the requirement of vertical equilibrium for the ring, you see that the downward force on it is mg, but the upward force on it due to the tension in the string is only mgcos(60°) < mg. So, the ring wants to slide downward. In order for the ring to be static, there must be an upward frictional force that keeps it suspended by making up the balance of the vertical force.
So, the force of friction on the ring due to the wire is upwards. Therefore, by Newton's 3rd Law, the force of friction on the wire due to the ring is downwards, just as you stated in your original post.
In contrast, for the second problem, the vertical component of the tension in the rope is 3mgcos(30°) > 2mg. So the force pulling upward on the ring is greater than its weight. It wants to slide upward, and it would, were it not for a downward frictional force with the wire that keeps it in place.
So, the force of friction on the ring due to the wire is downwards. Therefore, by Newton's 3rd Law, the force of friction on the wire due to the ring is upwards, just as you stated in your original post.