Why bibliography is made in size 18?

Actually this is exactly what Paperpile does. It should never produce text in size 18 unless it’s explicitly set in your document.

Can you delete the bibliography and try to re-generate it?