I agree with almost everything you say, except that NASA or other scientists can rightly attribute an igneous or sedimentary origin to some of these rocks, they really don't know for sure, said by themselves.
Attached video from NASA where they mention it.
View: https://youtu.be/MuKGnY1TNFQ