These decisions are taken by AMC (Asset Management Company) and their fund managers.
ETF is based on a theme, for example take Nifty Bees ETF, here this ETF’s objective is to achieve returns closely corresponding to Nifty 50 Index. Same goes for all other ETF’s.
You should give this post a read, which explains how ETF’s function: