Chiefly a borrowing from Latin subiectum. Earlier Middle Dutch subject was masculine.
Practice speaking and memorizing "subject" and many other words and sentences in Dutch.