Refers to the historical or developmental process by which something was formed or came into existence. Often used for words, organizations, customs, etc.
Describes the way something is put together or organized, such as a system, society, or physical object. Overlaps with sense 1 but focuses more on the current composition rather than historical development.