Neuter adjective endings need to show gender. "Ein Buch" does not tell you if it is masculine or neuter, so your adjective endings has to show it. ein rotes Buch ein rotes Buch einem roten Buch eines roten Buches