Its a curious relationship, and somewhat baffling.
The Deutsche bank agricultural commodity index (DBA) tracks wheat, corn, soybeans, cotton, sugar, coffee, and cocoa.

$XAU:$GOLD – weekly line chart with DBA in green