Been given beclomethasone nasal spray for ear blocked, why does that help?

Hoping to clear ear. The nose is connected to the ear through the eustachian tube. Improving nasal function should improve eustachian tube problems hopefully helping to clear the ear. Beclomethasone spray helps to improve the nose and eustachian tube.