It’s called having a jackass player. It can be hard to deal with.
Well, we should probably consider
why the player is being a jackass...
Information is power. It is status. So long as you have information, you have something other people want, and that makes you important. And, of course, as soon as you let information out... your possession of it isn't special, and your status is reduced.
Now, there will be some (hopefully small) number of players who apply this to get spotlight and attention above that which they really deserve at the table. These may be actual jackasses.
But, for others, it may behoove the GM to consider the player, the character, the adventures, and the table dynamic, and see... is the player otherwise getting the short end of the stick, in terms of spotlight and attention (whether through insufficient forethought on the GM's part, or player error)? Is the information you hand out always leading to
someone else getting spotlight time?
If it is always, "Yeah, I'm the social character. I go, get the information. That tells us where the BBEG is, and the fighter and wizard get all the glory choppign and frying them," or something of similar dynamic, then, yes, you might well expect the player to sit on the info... because releasing it isn't really a win for them, in terms of the drama.
How awesome is the moment when the information is gathered? Is it as awesome as fighting the BBEG? Why not?