From Brother Elis teachings in his video
I underatood that when reading the account of luke, it is entirely different compared to that of matthew.
The bible was not written to follow the exact lineage of Christ, so when talking about the mother, we can not really tell.
So the bible has encouraged us not to ask doubting questions.
1 Timothy 1:4
King James Version
4 Neither give heed to fables and endless genealogies, which minister questions, rather than godly edifying which is in faith: so do.
So therefore, as christians we just have to believe in the authority of God, that the Lord is from judah, likewise the mother.
Thank you and God bless you.