The definition in the oxford dictionary is:
adjective: esoteric
intended for or likely to be understood by only a small number of people with a specialized knowledge or interest.
"esoteric philosophical debates"
In other words, esoteric is doing something with the intent of confusing others.