Minecraft wiki entry for Things_not_to_do, associated text: If a parrot is fed a cookie, it dies‌[Java Edition only] or contracts fatal poison.‌[Bedrock Edition only] It's safer to give them seeds instead.