Without knowing the chemistry, it's hard to be certain. However, pinholes are caused by outgassing of volatile materials. These are caused by low boiling components in the potting/casting compositions, or are generated by the chemistry of these recipes while they are curing.
Some curing reactions will "give off" low boiling by-products, while other chemistry types do not. If I had more information, we could nail it down. Also, with proper equipment this could be absolutely proven (for example trace analysis of the vapors while curing occurs).
More info about the process and materials = MUCH better answer.