A solution to puzzle of the origin of matter in the universe