This is usually said when some information is intentionally not shared because ‘I thought you already knew’. Too often, this is said when someone is annoyed or frustrated with another person, and they consciously or subconsciously withhold information that could have prevented issues or conflicts. This is an underhanded, or passive-aggressive, way of showing upset.
Instead, work through your upset and share all relevant information, as applicable.