Pistachios split themselves open when they are ripe in a process called dehiscence.  This trait has been selected and specifically cultivated with different varieties having various rates of dehiscence consistency.  – WTF Fun Facts 
Source: https://en.wikipedia.org/wiki/Pistachio#Botany