As far as I know, this is only a thing in Dark Souls 3, not Dark Souls 1. Dark Souls 2 doesn't have any Black Knights in it, so obviously not that one either.
I think it's a nice way to give the Black Knights the impression of higher intelligence. They are presented as a force to be reckoned with compared to normal enemies, so giving them this extra perception does a good job making them more threatening and interesting.
Watch video Dark Souls Fun Fact: Black Knights can see Invaders (DS3) online without registration, duration hours minute second in high quality. This video was added by user The Nick of Time 22 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,632 once and liked it 173 people.