A poor family may have a dirty and smelly mattress due to a lack of financial resources. They may not have the means to afford a new mattress or proper cleaning supplies to maintain its cleanliness. Additionally, living in poverty can often mean living in inadequate housing conditions, which can contribute to a mattress becoming dirty and smelly over time.