Top
莫 supplies the sound — mò drifting to mù with the regular o→u shift.
莫 is also the original form of
暮: it pictures the sun sinking into grass at dusk (
艹 above +
日 middle + grass below). When
莫 was borrowed for the negative 'do not,' a new
日 was added underneath to keep the sunset meaning explicit.