People's consent changes based on how their data may be used

Is it for gen AI? Is it for spam filtering? Is it for public health monitoring?  Is it for election forecasting? Is it for abuse detection?