How do I track a publicly downloaded file?
hook_file_download doesn't run for public file downloads.

Control access to private file downloads and specify HTTP headers.

If you want to track public file downloads, you will need a different approach.
For example, track downloads with Google Analytics event tracking