On the origins of matter