Chat GPT spits out some of the most "mid" work ever. Ask it 2 similar questions and watch how it just follows the same logic, uses same sentence structure etc. There is no way it isn't "accidentally" plagiarizing. Its a magic trick that tricks people.