Best way to write internal link

I am new to SEO during analyzing my web page at https://www.seowebpageanalyzer.com/ I found out the overall score of the website changes the way writing internal links

On my website page if I write internal link as https://example.com/def the score is less

but if i write internal link as /def the score is high

I know that linking would be same but what to know the impact on SEO the internal link is written