Questions & Answers about Obojek je červený.
Because it has to agree with obojek in gender, number, and case.
Here:
- obojek is masculine singular
- the sentence is in the nominative
- so the adjective takes the matching form červený
This is one of the most important features of Czech: adjectives change their endings depending on the noun they describe.