Usually when creating a pdf-file I do it from Libreoffice. But sometimes I need to scan some pages and create a pdf-file from that. On those occasions the title showing up in the pdf-viewers title bar is either blank or is being filled by the scanner software.
I like my pdfs to look more professional so I change the Title value and usually also the Author value.