There are hundreds of years of esthetics theory, even thousands if we go back to the Greeks. Nobody knows, there are no accepted theories of it. It cannot be defined, this is the most clear thing we know about it. Because creating art is a transcendental phenomena.