Why is Ni/に used with Kizuku/気づく?

The に particle confused me a lot but I think I’ve got the hang of it, but this still really confuses me. Wouldn’t を work better with 気づく?

Any explanation would be appreciated. Thank you!

by Nabaseito