Bottom supplies the sound: sī → zǎi (substantial drift, a regional reading kept in dialect).
思 is purely phonetic and contributes no meaning.
崽 is heavily used as a Hunan/Sichuan dialect word for 'child' and as a suffix for young animals (
狗崽,
猪崽), so the dialect reading is what stuck.