Because AI trained on the internet will retain and magnify biases that already exist in the internet unless trained otherwise (As far as I know ChatGPT was trained otherwise to some extent using underpaid labour, but my knowledge otherwise is limited)