What species is this bushy thorny yellow-flowered angiosperm from Morocco?
I happened to come across a photo of a similar leafless shrub (without flowers) that also had 120 degree branches and looked thorny, or Spiny is probably a better description. It helped me to identify the plant in your photo as a Launaea arborescens. It is an unusual species of Chicory in the dandelion family, Asteraceae. Being tolerant of arid locations, it native to northwest Africa and southern Spain.

http://encyclopaedia.alpinegardensociety.net/plants/Launaea/arborescens

https://en.wikipedia.org/wiki/Launaea

https://en.wikipedia.org/wiki/Launaea_arborescens