Aptana is built on Eclipse.
Eclipse is a general-purpose/Java-focused editor, whilst Aptana offers additional features which are targeted specifically at web development.
There are also other Eclipse plugins that also focus on web development, including the Web Tools Project from the Eclipse team.
Some people like Aptana, finding it a convenient mix of relevant tools. Others find Aptana too intrusive, and prefer to individually select their own plugins for JavaScript, CSS, XML, and so on.
what was the need for two similar
Open Source IDEs on Java.
Variety is the spice of life. There are plenty of other IDEs aside from just these two, and the same situation applies to most software, and tools/technologies in general.
Generally, different tools don't have the same focuses, and therefore provide varying benefits for different users.
This is especially true in the Open Source world, where users can easily customise and re-release products to work in the way they want.