why if they were refused ? Shouldn't they get a ticket back to wherever they came from
Selective quoting of the website, although admittedly it's not clear.
If you’ve been refused asylum
You can ask for the following if you’re homeless, don’t have any money to buy food and you can show that there’s a reason why you can’t leave the UK yet:
short-term housing
help with prescriptions for medicine, dental care for your teeth, eyesight tests and glasses
a payment card for food and toiletries