How a picture is composed determines whether the image captures the viewer’s attention. What defines a great image is hard, if not impossible, to put into words, but we know it when we see it. A good picture elicits emotion, a great picture even more so. Emotions or reactions to good or great images include smiles, crying, cringing, laughing, remembering events, people or places.
We may have differing opinions of what makes a great composition, we don’t all process images the same way.
There are lots of “rules” of composition, the “rules” are only guidelines and guidelines can be bent, broken and ignored when necessary. Ssome broken rules have become fashionable.

A picture can be technically perfect but fall short of being great or even good.

An image with technical flaws can still be good or even great.