Marleys entire goal is to capture Eren/The Founder and are willing to do anything to get it. Now he intentionally goes into the heart of the enemies stronghold. This would be like Hitler sneaking into DC to have a conversation with a US commander during the WW2.