Enabling the “Serve into SafeFrame” feature in the Ad Manager while defining line item settings may be the possible reason.
To resolve this, go to the line item settings and simply untick the “Serve into SafeFrame” feature in the Ad Manager. Or, create a native style for the line item using HTML & CSS Editor in DFP and set the size of ad unit and line items as “Fluid”.