User interface design must happen early in the product development process, ideally at the initial stage before coding begins. This allows design to guide development rather than trying to apply design after implementation. Designing after coding (A) or at deployment (C) is too late and leads to poor user experiences. The claimed answer (D) correctly states UI design should occur at the initial stage.