Working overtime is not a guaranteed right under the law. The employer has no legal obligation to schedule you for overtime.
To prevail in a legal action, you would need valid and supportable evidence that the sole reason you were not scheduled for overtime was your race, religion, national origin, or other characteristic protected by law.
This is what the law says. If you have a contract or CBA that provides that you must be given overtime, that is a separate issue.