It's definitely fiction. The book creates a fictional world and characters to convey powerful messages and raise awareness about various social problems.
It's not non-fiction. 'The Hate You Give' is a work of fiction that uses a fictional narrative to bring attention to real-world problems and experiences.