Matthew 1 shows absence of certain people in lineages due to lack of certain significance. It may be that no significant thing occurred with one boy for a chronicler to mention him, or he never had any sons, himself, to bother mentioning him in the genealogy,
or it may be that since we do not read Jesse only ever had seven sons in the instance with Samuel, only seven of the eight were there.
I like what one man said:
There is a choice as to the ground upon which one stands in reviewing the matter of Bible difficulties. One may choose to presuppose that the Bible is without error, which acknowledging that it contains some very hard-to-explain texts. Or one can presuppose that the Bible is full of error, although it may also still contain many truths. One's presuppositions often prove determinative.