Which part of Genesis 38 would you suggest needs deeper scrutiny? There are layers of possibilities, between Judah’s behavior, his age, his treachery toward Tamar, Onan’s treachery and disobedience, etc.
The intersection of science and theology, leaving it open to all comers!