clearstream
(He, Him)
I agree they are related and do not dismiss at all the comments of other posters in this regard. I'm probably arguing something like - a useful tools in a DM's kit lies in the contrast between disclosed and concealed DCs. Mostly disclose, sometimes conceal, by intent.(Emphasis added.) I agree that they are separate, but they're definitely related. Greater understanding of how uncertainty is going to be modeled at a particular table makes it easier for the players to manage that uncertainty, which is a form of agency.
That said, there are a lot of checks that go by in my game where no player is really worried about the DC - I tell them "pretty easy", "not too hard" or whatever and they are good with that. I feel like sometimes we might overstate the formality of play in these discussions: things are often more laid-back at the table.
I don't always seek to make my players happy. I don't mind if a session or two goes by where everything is dour - there is a sense of helplessness - which creates a low point against which their successes will feel more satisfying. One has to be careful - and some players will take things to heart - so you have to be alert to that also, and ensure things work for everyone.