Spalting comes from decay of the wood - The trick is to catch it late enough that the spalting lines have developed, but early enough that the wood still has strength. Attached is a picture of a hard maple log that is spalted. The wood is actually dead as the spalting starts, so on larger areas the bark will already be falling off.

Soft Maple can also spalt, but it crosses the line from good to rotten much faster.