Short answer
Spouses can avoid taking each other for granted by regularly expressing appreciation and recognising the effort each person contributes to family life.
Islamic Guidance
What Islam teaches
Islam encourages gratitude, kindness and good treatment. Appreciation should not disappear simply because responsibilities have become routine.
Practical Guidance
What you can consider
Thank your spouse specifically, acknowledge their contributions and continue showing courtesy even during ordinary daily routines.
Sources
Qur'an 4:19; Qur'an 14:7.