Solved for me... I tried several of the methods below. I'm running two LG 5k displays from my iMac and for months only one would work. I tried upgraded to thunderbolt 4 chords and they came on after restart. I read in another forum that this worked for them and it worked for me. Some sort of software update I guess.
the cables I ordered ... hope this helps
https://www.amazon.com/dp/B09KTB326W?psc=1&ref=ppx_yo2ov_dt_b_product_details