The assistant treasurer gave no reason for his resignation, which comes just days before parliament resumes sitting for 2025.