قَرَأَ الْمُعَلِّمُ الْكِتَابَ — The teacher read the book: «الْمُعَلِّمُ» is the nominative agent; «الْكِتَابَ» the accusative object.
قُرِئَ الْكِتَابُ — The book was read: «قُرِئَ» is the past passive; «الْكِتَابُ» the nominative passive subject.
The book did not perform the reading; its syntactic function changed, not its semantic role.