There are certain situations that limit the expenses you are allowed to deduct. You must have one of those situations. Passive activity, your income, days of use, etc. Please check to see if you have form 8582 in your return. You can check sch E instructions* to see which reason yours is limited.
* 2021 Instructions for Schedule E (2021) - Internal Revenue Service states:
If you have a rental real estate loss from a passive activity (defined earlier), the amount of loss you can deduct may be limited by the passive activity loss rules. You may need to complete Form 8582 to figure the amount of loss, if any, to enter on line 22. See the Instructions for Form 8582 to determine if your loss is limited.