If you don't understand what the question is or, as in this case, what the question title has to do with the question's content (f.e. a self-answer to the given question) then this posts "needs details or clarity" a.k.a. is unclear and should be closed as such.
The concern "Why is OP asking a question and then self-answer inside of the question?" is an example forof why a question is unclear.
Also note that closing a question is different from flagging for moderator intervention. Moderators usually aren't involved to close a question, so any of such kind of flags which drag moderator intervention will probably get declined very soon (as happened here).
Going more in-depth about the specific case: OP tried to provide a self-answer inside of the question (also gave another self-answer in the answer form).
Regardless of whether this is the correct form or not (it's not, but that is not the crucial point for closing it here); the intention of the question and with that the question itself is in this constitution unclear and thus should be voted to close as being unclear a.k.a. "Needs details or clarity".