The reason why you only share 47% of DNA with your dad is because of the X and Y chromosomes and also the random shuffling or recombination during inheritance, where not all of the segments are passed on, which make exact 50/50 splits that are rare in tests, even with perfect biology.
It's very normal to share slightly less than 50% of DNA with your dad which can be between 47% to 49% of DNA, especially for males.
Females have 2 X chromosomes (XX), and males have one X chromosome and one Y (XY) chromosome.
So a daughter gets 1 X chromosome from her mother and one X chromosome from her father.
A son gets one X chromosome from his mother and the Y chromosome from his father, which means that sons don't get any DNA from the Y chromosome, and slightly less overall from their father when compared to a daughter.
And each time the reproductive cells like sperm/egg are made, your parents DNA shuffles and recombines, passing down unique combinations.
So you don't get exact halves of their chromosomes, and instead you get random segments, so you may miss a few of your dad's DNA segments by chance.
DNA tests also look at specific markers "SNPs" and may not capture every single piece of DNA, which leads to the slight discrepancies, especially in smaller chromosomes or areas with less data.
What this means is a result like 47% of DNA with your dad is very common and generally falls within the expected range for a parent and child relationship, which is most particular for a son.
It does not suggest that anything is wrong, it's just how genetics work in reality, but not perfectly in theory.