Because in one case the target is the individual. The other case your data gets aggregated and sold as bulk in the form of ad impressions (tracking).
A better comparison would be, the gov uses your census data to mail you flyers.
A better comparison would be, the gov uses your census data to mail you flyers.