Warm dust in high-z galaxies: origin and implications