the tentacles expanded and retracted from each ships center and rear , and could secrete either deadly bursts of energy , or genesis producing energy , capable of creating environments suitable for carbon based life forms .