This practice has its roots in counterpoint, where a theme or subject might create an impression of a pleasing or affective sort, but delight the mind further as its contrapuntal capabilities are gradually unveiled.