In some situations, someone may make a request or ask a favor while fully knowing that the other party is highly unlikely to agree. This is often done to shift the blame or to justify oneself. For example, if I feel unsuccessful in life, I might make some unreasonable requests of people in authority. When I am denied, I can then easily blame them for my situation instead of myself.
In such situations, it may also happen that in the unlikely event of the other party accepting the proposer's terms (often in the case of an argument between relatives or spouses), the proposer gets annoyed because the real goal was not the fulfillment of the request, but securing an excuse to get angry at being refused.
Other examples can be found in politics when an unreasonable demand is being made with the expectation that it will be refused, in order to make it possible to rally other people to one's cause against the 'oppressors'.
Is there a phrase or idiom for such a situation, or for a person who often does this? I'm not seeking to cover situations where someone makes themselves into a victim or martyr: the focus is the unreasonable request itself, which is made mostly to enable oneself to feel entitled and to fuel one's own sense of dissatisfaction.