Towards demystifying the creativity of diffusion models