Depends on kind of job
I guess it depend on the employer and the kind of job. For example, any job that has to do with financing of handling cash such as banks, insurance etc don’t want people with financial difficulties because statistically they are more prawn to stealing or embezzlements.
As to non-financial related job, I’m not sure. Maybe they can learn about your dependability from how you manage your financial matters. It’s also another way for them to learn a bit about you besides what you tell them in the interview.