Because they are in violation of 314.23(H) Pendant Boxes.
An enclosure supported by a pendant shall comply with 314.23(H)(1)
Flexible Cord. A box shall be supported from a multiconductor cord or cable in an approved manner that protects the conductors against strain, such as a strain-relief connector threaded into a box with a hub.