The International Court of Justice ruled that Myanmar committed genocide against the Rohingya ethnic group in 2017.