Historically the altar is where people made sacrifices to commune with their Deity. In Freemasonry it is where masons, who commune with the Grand Architect of the Universe, can all together commune with deity.
The Ashlar reprents a Mason going through his journey as a Mason. As a new Mason they are rough, the hope is once a Mason answers the call of the Great Architect of the Universe he will be the perfect.